import request from '@/utils/request'
// 本地模拟mock
export function login (loginCode,password) {
  return request({
    url: '/login',
    method: 'post',
    params:{
      userName:loginCode,
      cipher:password
    }
  })
}

export function getMenu () {
  return request({
    url: '/getMenu',
    method: 'get'
  })
}
